home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
AUDIOPLAYERS
/
RISCAMP
/
!RiscAMP
/
!Help
/
Skins
< prev
Wrap
Text File
|
1999-04-16
|
5KB
|
89 lines
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>RiscAMP</TITLE></HEAD>
<BODY background="images/armage.jpg">
<h3>Creating skins</h3>
<ul>Skins are comprised of four files:
<li><strong>!Sprites</strong>, contains the Ampeg file type icon, the control
window iconised icon, the application/iconbar icon and any pointers used
in the skin.
<li><strong>Sprites</strong>, contains all the images used in the skin.<br>
The file <strong>must</strong> contain: volume, vu_left, vu_right, bar.<br>
These sprites <strong>must have</strong> a <strong>transparency</strong> which you cannot use.
<li><strong>Templates</strong>, contains all the windows used by the program.
<li><strong>Info</strong>, details which icons in the templates do what.<br>
The best way to see how it works is to look at an example. However the following might help...
<ul>
<li>The first line is a comment that will be displayed when no songs are playing.
<li>The format for a windows entry is as follows:
<pre>
<window name><tab><highest icon number used>
<tab><icon name><tab><icon number>[<tab><extra info>]
</pre>
<li><strong><window name></strong>, is the name of a window, it
should be one of Control, Mini, Playlist, Minilist.
<li><strong><highest icon number used></strong>, is the highest
icon number used in that window.
<li><strong><icon name></strong>, tells the program what that icon
does. Valid names are:
<table border = 1 ALIGN = "centre">
<TR><TH>Name </TH><TH>Type</TH><TH>Name </TH><TH>Type</TH></TR>
<TR><TD>artist </TD><TD ROWSPAN=3>Scroll text</TD> <TD>back </TD><TD>Drag</TD></TR>
<TR><TD>song </TD> <TD>play </TD><TD ROWSPAN=6>Toggle</TD></TR>
<TR><TD>album </TD> <TD>pause </TD></TR>
<TR><TD>vuleft </TD><TD ROWSPAN=2>Display bar</TD> <TD>stop </TD></TR>
<TR><TD>vurigh </TD> <TD>repeat </TD></TR>
<TR><TD>played </TD><TD ROWSPAN=7>Display</TD> <TD>random </TD></TR>
<TR><TD>total </TD> <TD>list </TD></TR>
<TR><TD>mpeg </TD> <TD>prev </TD><TD ROWSPAN=5>Click</TD></TR>
<TR><TD>layer </TD> <TD>next </TD></TR>
<TR><TD>Kb/s </TD> <TD>close </TD></TR>
<TR><TD>Hz </TD> <TD>pin </TD></TR>
<TR><TD>stereo </TD> <TD>mini </TD></TR>
<TR><TD>cli </TD><TD>Cli</TD> <TD>volume </TD><TD ROWSPAN=2>Bar</TD></TR>
<TR><TD></TD> <TD></TD> <TD>bar</TD></TR>
</table><br>
<li><strong><extra info></strong>, tells RiscAMP any extra information needed
<table border = 1 ALIGN = "centre">
<TR><TH>Type</TH><TH>Extra info</TH></TR>
<TR><TD>Scroll text</TD><TD>Width of display in characters</TD></TR>
<TR><TD>Display bar</TD><TD>Direction: lr, rl, bt or tb</TD></TR>
<TR><TD>Display </TD><TD>None</TD></TR>
<TR><TD>Drag </TD><TD>None</TD></TR>
<TR><TD>Toggle </TD><TD>None</TD></TR>
<TR><TD>Click </TD><TD>None</TD></TR>
<TR><TD>Bar </TD><TD>Direction: lr, rl, bt or tb<br>
The volume may also contain Sprite:<n><br>
in which case an animation of <n> sprites will be used</TD></TR>
</table><br>
<li>Things that might not be imediately obvious :-)
<ul>
<li>The icons in the playlist and minilist windows should have the deleted flag
set or they will be displayed, which will mess up the appearance somewhat.
<li>The 'Options', 'SaveAs' and 'ProgInfo' windows have a deleted icon in their backgrounds.
If you want to include background images for these windows then just undelete them
and include the sprite name as you normally would in an icon.
<li>The icon numbers of the 'Options', 'SaveAs' and 'ProgInfo' windows must not be changed
<li>The control window must contain random, repeat, play, stop and pause but they may be outside the visible area or have there delete flags set
<li>Setting the window background colour to transparent may reduce flicker but make sure you are completely covering the background with icons.
</ul>
<ul>
</ul>
</ul>
<center><img src="images/bar.gif"></center>
<center><a href="cntct.html">
If you have any comments, suggestions or just want to contact me, click here
<img src="images/mail.gif" align="bottom" border = 0></a></center>
<center><img src="images/bar.gif"></center>
<i><CENTER>Everything on these pages is copyright © Andy Boura, ARM age Software 1998.</CENTER></i>
</body>
</html>